Skip to content

feat(methods): add slackbot.skillSets.create method example - #429

Open
zimeg wants to merge 2 commits into
mainfrom
zimeg-feat-slackbot-skill-sets-examples-create
Open

zimeg wants to merge 2 commits into
mainfrom
zimeg-feat-slackbot-skill-sets-examples-create

Conversation

@zimeg

@zimeg zimeg commented Dec 1, 2026 •

Copy link
Copy Markdown
Member

Summary

This pull request adds a method example for slackbot.skillSets.create in methods/src/slackbot/skillSets/slackbot_skill_sets_create.py, and lists it in methods/README.md.

  • The arguments follow the order of the reference page, with values from its response examples.
  • This layer also adds the slackbot/skillSets/ app scaffold: .slack/, assets/, manifest.json, and __init__.py files, and bumps the slack_sdk pin in methods/pyproject.toml to 3.49.0.

This is part 1 of 9 in a stack that adds the Slackbot skill sets method examples one at a time, in sorted method order. Each pull request builds on the one before it and merges on its own, bottom to top.

  1. feat(methods): add slackbot.skillSets.create method example #429 slackbot.skillSets.create 👈 this pull request
  2. feat(methods): add slackbot.skillSets.delete method example #430 slackbot.skillSets.delete
  3. feat(methods): add slackbot.skillSets.info method example #431 slackbot.skillSets.info
  4. feat(methods): add slackbot.skillSets.items.add method example #432 slackbot.skillSets.items.add
  5. feat(methods): add slackbot.skillSets.items.remove method example #433 slackbot.skillSets.items.remove
  6. feat(methods): add slackbot.skillSets.library.add method example #434 slackbot.skillSets.library.add
  7. feat(methods): add slackbot.skillSets.library.remove method example #435 slackbot.skillSets.library.remove
  8. feat(methods): add slackbot.skillSets.list method example #436 slackbot.skillSets.list
  9. feat(methods): add slackbot.skillSets.update method example #437 slackbot.skillSets.update

Dependency

The slackbot.skillSets methods shipped in slack_sdk 3.49.0, and this PR bumps the methods pin to it.

Testing

With slack_sdk 3.49.0, which the methods pin now installs:

  1. cd methods/src/slackbot/skillSets && slack install --environment local, then export SLACK_TOKEN=... with the app's bot token (skills:write).
  2. slack run slackbot_skill_sets_create.py and confirm the response. Use the returned skill_set.id with the other examples in this stack.

🤖 Generated with Claude Code

@zimeg zimeg added enhancement New feature or request python Pull requests that update python code labels Dec 1, 2026
@zimeg zimeg self-assigned this Dec 1, 2026
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@zimeg
zimeg marked this pull request as ready for review December 4, 2026 04:43
@zimeg
zimeg requested a review from a team as a code owner December 4, 2026 04:43

@mwbrooks mwbrooks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Thanks @zimeg! Nice to see the skill set scaffold land right as slack_sdk 3.49.0 ships.

Comment thread methods/pyproject.toml Resolved

@cchensh cchensh left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Checked against slack_sdk 3.49.0 (slackbot_skillSets_* in web/client.py) and the docs.slack.dev reference: the method name, required args and filter value are right, the scopes match the docs (skills:read for info and list, skills:write for the rest), and the README line matches the docs description. CI is green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants